#ifndef SANNOUNCE_H_
#define SANNOUNCE_H_
/*********************************************************/
class sMsg;

#include "sMsg.h"
#include <Poco/DOM/NodeIterator.h>
#include <string>
/*********************************************************/
class sAnnounce : public sMsg
{
private:
	// Friend classes
	friend class sMsg;

	// Variables
	std::string	addr;

	// Methods
	void deserialize(Poco::XML::NodeIterator&);	// Deserializes an execute job

protected:
public:
	// Control Methods
	virtual std::string serialize() const;		// Serialize the job to an xml string
	virtual void execute();				// Execute the job
	void setAddress(const std::string&);		// Set the address to be carried by this message

	// Construction & Destruction
	sAnnounce() {};
	~sAnnounce() {};
};
/*********************************************************/
#endif // SANNOUNCE_H_
